var $ = require('../../../lib/jquery');
var jyqy_tab = {
  bindevent:function () {
    $('.js_my_doctor').on('click',function (){
      if (location.href.indexOf('jyqy') == -1){
      location.href = './jyqy.html';
      }
    })
    $('.js_change_jy').on('click',function (){
      if (location.href.indexOf('ghjy') ==-1){
        location.href= './ghjy.html'
      }
    })
    $('.js_jy_package').on('click',function (){
      if(location.href.indexOf('jyfwb') == -1){
        location.href = './jyfwb.html';
      }
    })
    $('.js_change_an').on('click',function(){
       if (location.href.indexOf('jlda') == -1) {
         location.href = './jlda.html';
       }
    })
    $('.js_suggestion').on('click',function (){
      if (location.href.indexOf('jyyj') == -1){
        location.href="./jyyj.html"
      }
    })
    // $('.js_change_jy').on('click',function (){
    //   if (location.href.indexOf('ghjy') ==-1){
    //     location.href= './ghjy.html'
    //   }
    // }) 
  }
}
module.exports = jyqy_tab;